package com.ruicar.afs.cloud.afscase.loanapprove.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.afscase.loanapprove.condition.InvoiceInspectionCondition;
import com.ruicar.afs.cloud.afscase.loanapprove.entity.CarInvoiceInfo;
import com.ruicar.afs.cloud.afscase.loanapprove.vo.InvoiceInspectionVo;

import java.util.List;

/**
 * <p>Description：车辆发票信息接口</p>
 *
 * @author xueyu.ma
 * @version 1.0
 * @createDate 2020-6-15
 */
public interface CarInvoiceInfoService extends IService<CarInvoiceInfo> {
    /**
     * 查询二次发票验证结果
     * @param page
     * @param condition
     * @return
     */
    IPage<InvoiceInspectionVo> getInvoiceList(Page page, InvoiceInspectionCondition condition);

    /**
     * 入库开票方端
     * @Author rongji.zhang
     * @Date 2020/09/21 17:38
     */
    void saveDrawerParty(String caseContractNo);
    /**
     * 查询所有二次发票验证结果
     * @return
     */
    List<InvoiceInspectionVo> getAllResultList(InvoiceInspectionCondition condition);
}
